Part Number Hot Search : 
2AXXX SPLCG810 DG428 TLE7729 MTEZ515A HPR105 1SS40 APX91
Product Description
Full Text Search
 

To Download CXD1958Q Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 CXD1958Q
MMDS TCM/QAM Demodulator + FEC + ADC
Description The CXD1958Q is an integrated TCM/QAM demodulator for MMDS systems using the DAVIC MMDS standard. This highly integrated device incorporates an internal 8-bit ADC, image rejection and root-raised cosine filters, all-digital symbol timing recovery PLL, adaptive decision feedback equalizer (DFE) with 10 feedforward and 30 feedback taps, 4-D TCM decoder, and DAVIC/DVB compliant forward error correction comprising (204,188) Reed Solomon decoder, a programmable de-interleaver with I = 12 and I = 204, and a de-randomiser. All internal clocks are generated from a single external 30MHz reference crystal. Device functionality also includes 3-wire bus interface for configuring up to 2 tuner synthesizers, a sigma delta tuner IF-AGC output, a user programmable RFAFC sigma delta output, spectrum inversion of the received signal for tuner compatibility, and a highly configurable MPEG2-TS interface. An I2C bus interface provides on-board configuration and status monitoring of various functions including access to the equalizer tap values and constellation points. JTAG provides boundary scan test compatibility. Features * DAVIC MMDS V1.1 and V1.3 compliant * Supports 16, 64 and 256QAM * Supports 16, 64 and 256 TCM * Internal 8-bit ADC * Interface for 10-bit external ADC * 36.125MHz nominal IF input * Symbol rate range 5 - 5.304Mbaud in 6MHz channels * Integrated matched filtering with 0.15 roll-off factor * 400KHz internal carrier offset compensation with negligible losses @ 5Mbaud 6MHz channel * Symbol timing loop designed to acquire with large offsets. Negligible losses for 100ppm offsets
Preliminary
100 pin QFP (Plastic)
* All internal clocks derived from single fixed frequency crystal (30MHz) * Supports fast re-acquisition mode * 6s echo cancellation @ 5Mbaud * Constellation points and equalizer tap values readable via I2C bus * C/N estimation readable via I2C bus * Low implementation loss for AWGN only: 0.5dB @ 64QAM (using internal 8-bit A/D); 0.3dB @ 256QAM (excluding A/D); measured at BER of 3x10-4 Pre R/S * I = 12 and I = 204 de-interleaving * Fast I2C bus compatible control interface * Tuner IF-AGC output * User programmable tuner RF-AGC output * Dedicated 3-wire bus interface to configure up to 2 tuner synthesizers * 3.3V CMOS technology * Supports JTAG boundary scan * 100-pin QFP package Applications MMDS set-top boxes
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.
-1-
PE99906-PS
CXD1958Q
Pin Configuration
RESETN
RFAGC
DTCLK
TRST
DVDD
DVDD
DVDD
DVDD
DVSS
DVSS
DVSS
DVSS
AVSS
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
TEVAL9 1 TEVAL8 2 TEVAL7 3 TEVAL6 4 TEVAL5 5 DVDD 6 DVSS 7 TEVAL4 8 TEVAL3 9 TEVAL2 10 TEVAL1 11 TEVAL0 12 DVDD 13 DVSS 14 TDO 15 TSVALID 16 TSLOCK 17 DVDD 18 DVSS 19 TSERR 20 TSDATA7 21 TSDATA6 22 TSDATA5 23 TSDATA4 24 DVDD 25 DVSS 26 TSDATA3 27 TSDATA2 28 TSDATA1 29 TSDATA0 30
AGC
TMS
TCK
TDI
A0
A1
AVSS 80 AVSS 79 AVDD 78 AVDD 77 VRBS 76 VRB 75 VIN 74 VRT 73 VRTS 72 AVDD 71 AVDD 70 AVDD 69 AVSS 68 AVSS 67 DVSS 66 XTALI 65 XTALO 64 DVDD 63 DT9 62 DT8 61 DT7 60 DT6 59 DT5 58 DVSS 57 DVDD 56 DT4 55 DT3 54 DT2 53 DT1 52 DT0 51 DVDD DVSS
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 SCLK TSCLK TSSYNC TSDISABLE TDATA TWR_N SDATA SEN1 TCLK SEN0 DVDD DVSS TEN DVSS DVDD DVSS SDA INTRPTN SCL
Fig. 1. Pin Configuration
-2-
CXD1958Q
Pin Description Table 1. Pin Description Name Clock and Reset XTALO XTALI 65 66 Crystal oscillator output Crystal oscillator input Digital Schmitt-trigger 5V tolerant Input N/A N/A Crystal oscillator cell output. Crystal oscillator cell input. Pin No. Type Drive Function
RESETN ADC Interface VRTS
92
N/A
Active low hardware reset.
73
Analog output Analog input Analog input Analog input Analog output
N/A
ADC internally generated top reference bias. This pin connects to VRT to self bias the top reference. ADC top reference voltage. Connects to VRTS for self bias. Analog IF input. ADC bottom reference voltage. Connects to VRBS for self bias. ADC internally generated bottom reference bias. This pin connects to VRB to self bias the bottom reference.
VRT VIN VRB
74 75 76
N/A N/A N/A
VRBS
77
N/A
MPEG2 Transport Stream Interface Identifies data portion of the MPEG2 transport stream packet (excludes parity bytes). The polarity and timing of this signal is programmable. Tristate following hardware reset. External pullup or pull-down resistor required. MPEG2 transport stream lock indicator. The polarity of this signal is programmable. MPEG2 transport stream error flag. Indicates uncorrectable errors in current packet. The polarity and timing of this signal is programmable. Tristate following hardware reset. External pullup or pull-down resistor required. MPEG2 transport stream parallel data output. Tristate following hardware reset. External pull-up or pull-down resistor required.
TSVALID
16
Digital tristate output
4mA
TSLOCK
17
Digital output
8mA
TSERR
20
Digital tristate output
4mA
TSDATA[7:0]
21, 22, 23, Digital 24, 27, 28, tristate output 29, 30
4mA
-3-
CXD1958Q
Name
Pin No.
Type
Drive
Function
MPEG2 Transport Stream Interface (Cont.) MPEG2 transport stream byte clock. The polarity and timing of this signal is programmable. Tristate following hardware reset. External pull-up or pulldown resistor required. Indicates MPEG2 47H sync byte in transport stream packet. The polarity and timing of this signal is programmable. Tristate following hardware reset. External pull-up or pulldown resistor required. Input to disable MPEG2-TS interface outputs. MPEG2 transport stream output pins TSDATA[7:0], TSCLK, TSSYNC, TSVALID, TSERR to be put into tristate mode if this input is asserted high. The same outputs may also be set tristate via I2C bus control.
TSCLK
31
Digital tristate output
4mA
TSSYNC
32
Digital tristate output
4mA
TSDISABLE
35
Digital Schmitt-trigger 5V tolerant input
N/A
Tuner Interface (Control and AGC) AGC RFAGC 88 89 Digital output Digital output Digital Schmitt-trigger 5V tolerant input Digital Schmitt-trigger 5V tolerant input Digital Schmitt-trigger 5V tolerant input Digital Schmitt-trigger 5V tolerant input 2mA 2mA External IF AGC control. External RF AGC control. Host CPU control input. Can be used to control 3-wire bus outputs SEN0 and SEN1. Host CPU control input. Can be used to control 3-wire bus output SCLK. Host CPU control input. Can be used to control 3-wire bus output SDATA. Host CPU control input used to register TEN, TCLK, TDATA on rising edge and update SEN, SCLK and SDATA outputs in one mode of the 3-wire bus operation. 3-wire bus interface enable output. Polarity programmable and equivalent to polarity of SEN0. Must be pulled up by external resistor to 3.3V or 5V if used. 3-wire bus interface enable output or pass-FET contol for tuner I2C bus. Programmable polarity. Must be pulled up by external resistor to 3.3V or 5V if used.
TEN
36
N/A
TCLK
37
N/A
TDATA
38
N/A
TWR_N
39
N/A
SEN1
42
Digital open-drain output
12mA
SEN0
43
Digital open-drain output
12mA
-4-
CXD1958Q
Name
Pin No.
Type
Drive
Function
Tuner Interface (Control and AGC) (Cont.) SCLK 44 Digital open-drain output Digital open-drain output 12mA 3-wire bus interface clock output. Must be pulled up by external resistor to 3.3V or 5V if used. 3-wire bus interface data output. Must be pulled up by external resistor to 3.3V or 5V if used.
SDATA
45
12mA
Host Control Interface Digital bi-directional open-drain output Schmitt trigger 5V tolerant input Digital Schmitt trigger 5V tolerant input Digital CMOS input Digital CMOS input Digital open-drain output
SDA
48
3mA
I2C bus data. Must be pulled up by external resistor.
SCL
49
N/A
I2C bus clock. Must be pulled up by external resistor. I2C bus address (variable part) I2C bus address (variable part) Programmable general interrupt pin. Must be pulled up by external resistor to 3.3V or 5V.
A1 A0
97 98
N/A N/A
INTRPTN
41
12mA
Testability and Evaluation Interface 63, 62, 61, 60, 59, 56, 55, 54, 53, 52 87 93 15 94 95 96 Digital bi-directional tristate output 5V tolerant input Digital output Digital input with pull-up Digital tristate output Digital input with pull-up Digital input with pull-up Digital input IOL = 4mA IOH = -2mA ADC digital bypass port for connection of an external ADC.
DT[9:0]
DTCLK TRST TDO TDI TMS TCK
8mA N/A 4mA N/A N/A N/A
ADC clock for use with DT[9:0]. JTAG test reset input. JTAG test data output. JTAG test data input. JTAG test mode select. JTAG test clock.
TEVAL[9:0]
1, 2, 3, 4, Digital 5, 8, 9, 10, output 11, 12
4mA
Test data bus.
-5-
CXD1958Q
Name Power Supplies
Pin No.
Type
Drive
Function
DVDD
6, 13, 18, 25, 33, 46, 51, 57, 64, Power 84, 85, 91, 99 7, 14, 19, 26, 34, 40, 47, 50, 58, Ground 67, 83, 86, 90, 100 68, 69, 80, Ground 81, 82 70, 71, 72, Power 78, 79
Digital supply. (+3.3V)
DVSS
Digital ground. (0V)
AVSS AVDD
Analog ground. (0V) Analog supply. (+3.3V)
-6-
CXD1958Q
Description of Functions
VIN
ADC
I Q PreProcessor Preproc Lock Symbol Valid
40-Tap Equalizer Equalized Q Equalized I
Symbol Number
MPEG-2 Data TSDISABLE TSVALID TSCLK TSSYNC TSLOCK TSERR INTRPTN
DA[9:0]
FEC Lost Lock FEC
AGC
RFAGC
Sigma Delta Modulator
Trellis Decoder
Symbol Number
XTALI XTALO RESETn OSC 30MHz Clock & Test Control JTAG I2C bus Register Interface Config Data
RAM SCLK SDATA 3-Wire Bus SEN0 Interface SEN1 TDATA
TCLK
TMS
TDO
SDA
TCK
Fig. 2. Block Diagram 1. ADC Input to the CXD1958Q is a single-ended IF signal centred at 36.125MHz. An integrated 8-bit ADC is clocked at 30MHz and used to directly band-pass sample the IF signal. The 8-bit ADC is self biased by connecting reference pins VRTS to VRT and reference pins VRBS to VRB. An option is provided to allow bypass of the internal ADC if an external converter up to 10 bits is desired.
2. Pre-Processor and Equalizer
PRE-PROCESSOR
EQUALIZER
TEN
SCL
TDI
digitised IF From ADC
IF to Baseband (ITB)
Image/ Decimation Filters
Interpolator
Matched Filter
Decision Feedback Equalizer
DC Correction
Decision Device
To FEC Differential Decoder
To VGA
Automatic Gain Control
Timing Recovery PLL
Equalizer Adaption
To Trellis Decoder
Carrier Recovery PLL Various Control Signals
Fig. 3. Pre-Processor and Equalizer Block Diagram -7-
CXD1958Q
2-1. Automatic Gain Control - External This block monitors the signal level at the output of the ADC and provides a pulse width-modulated control signal (IF-AGC) to drive an external (analog) variable gain amplifier (VGA). The polarity of this signal is I2C bus programmable. This circuit operates as an automatic gain control loop and is normally configured to maximize ADC dynamic range. Only a single external RC filter is required. It is possible to read the level being output on the IF-AGC signal via I2C bus to allow a separate RF-AGC sigma-delta output to be programmed for dual loop AGC systems. 2-2. IF to Baseband Conversion The IF to Baseband block translates the received digitized IF signal to a complex baseband signal. Subsequent processing is performed in parallel on in-phase (I) and quadrature (Q) data paths. 2-3. Decimation Filter Sample rate conversion in the Decimation Filter block is used to optimize the operation of the timing loop over the symbol rate range. 2-4. Timing Recovery Loop Symbol timing recovery is implemented using an all-digital PLL comprised of Interpolator, Matched Filter and Timing Recover PLL blocks in Fig. 3. This allows the sample rate to be unrelated to the symbol rate - sampling is asynchronous. The loop operates over the range (5 - 5.304) Mbaud with minimal performance degradation, surpassing the capability of an equivalent analog loop. The matched filter implements a square-root raised cosine function, matched to the equivalent transmitter filter for rejection of intersymbol interference (ISI). 2-5. Decision Feedback Equalizer Adaptive equalization is performed using a Decision Feedback Equalizer implementation to remove echoes arising from channel multipath characteristics and any remaining ISI not removed by the matched filter in the pre-processor. The DFE filter structure has a feedforward (10 tap) and feedback (30 tap) section. The 30 tap feedback section removes post-cursive ISI up to 6ms delay which is sufficiently robust to remove long echoes in MMDS. During acquisition of the QAM constellation, the adaptive equalizer steps through several modes of operation to achieve lock. The equalizer initially operates using a blind error signal to converge tap coefficients as no training sequence is provided in the QAM input data stream. The equalizer then switches to a decision-directed mode of operation where QAM data is used to generate the error signal to optimize convergence of tap coefficients. An all-digital PLL is implemented for removal of carrier frequency and phase offsets. 2-6. DC Correction Modulator carrier leakage appears as a DC component in the QAM constellation which must be removed before correct decisions can be made in Decision Device block. The DC Correction block completely removes this offset. -8-
CXD1958Q
2-7. Decision Device The Decision Device block performs data slicing and symbol/bit mapping for 16, 64 and 256 QAM constellations. This block can also automatically or manually compensate for an inverted IF spectrum under I2C bus control. Modulation scheme recognition can be preset via I2C bus for fast acquisition. 2-8. Configuration and Control Configuration and control is handled by a register bank accessible to an external processor over an I2C serial bus. A pre-processor state machine controls the initial acquisition process until synchronisation is achieved. Once the pre-processor has acquired lock to the input symbol rate the equalizer section is enabled. Once enabled, Equalizer operation is also controlled by a state machine. Once Equalizer acquisition is achieved the condition is then maintained based upon acquisition and mode control information, supplied from the configuration registers, and MPEG Transport Stream status data from the FEC block. 3. Post-Processor Post-processing on the demodulated QAM/TCM signal implements the DAVIC MMDS standard. This includes differential decoding of the two most significant symbol bits (QAM mode only), mapping of decoded symbols onto bytes, Forney convolutional de-interleaving of the bytes (I = 12, and I = 204) to remove burst errors, Reed-Solomon (255, 239) error correction, MPEG-2 sync byte inversion and data stream de-randomization. Finally a baseband interface is included that provides an MPEG-2 compliant transport stream to the device output.
Unsliced I Q Values from Equalizer Sliced Symbols from Equalizer
BER Figures
Lock Flag
Lost Lock Flag
TCM Decoder
Differential Decoder
BER Measurement
SYNC Detect & Loss & ISYNC Detect Inverted SYNC Flag
FEC Register Bank (FRB)
m-tuple mapper & SYNC Detect
BB0 SYNC Flag
DeInterleaver
BB1 SYNC Flag
Reed Solomon Decoder
BB2 SYNC Flag
Energy Dispersal Removal
BB3 SYNC Flag
Baseband Interface
Transport Stream Data
Fig. 4. Post-Processor Block Diagram
-9-
CXD1958Q
3-1. Differential Decoder In QAM mode, this decodes the MSB of the received QAM signal according to the equations given in the DAVIC MMDS standard. In TCM mode, the differential decoding is performed by the TCM decoder block. 3-2. TCM Decoder The TCM decoder reduces the signal power required for robust reception in difficult channels whenever trellis coded modulation is used at the transmitter. TCM mode is selected by an I2C bus register bit. The TCM decoder block takes the equalized I/Q symbols as input data, and provides 7-bit (16-TCM), 11-bit (64-TCM), and 15-bit (256-TCM) outputs for each TCM symbol. Two I/Q pairs are required for each TCM symbol. The TCM block performs an internal synchronization sequence to ensure that the correct pair of QAM symbols is selected. There are several I2C bus registers to allow user configuration and monitoring of the synchronization sequence. 3-3. Symbol to Byte Mapper The postprocessor maps differentially decoded symbols to bytes. The byte boundaries are determined by correlating the input symbols with the expected locations of the sync bytes. The number of consecutive successful correlations is compared against a threshold (SYNC_LADDER_LENGTH), and the symbol stream is flagged as locked when that threshold is achieved. 3-4. De-interleaver and Reed Solomon Error Correction DAVIC compatible forney type convolutional de-interleavering (I = 12, N = 204, M = 17) or (I = 204, N = 204, M = 1), where M = N/I) is applied to the bytes. I = 12 is used for 16/64 QAM/TCM modes. Either I = 12 or I = 204 can be programmed for 256 QAM/TCM modes. The resulting byte stream is corrected by a standard DAVIC/DVB (204, 188) Reed Solomon decoder (GF generation polynomial p (x) = x8 + x4 + x3 + x2 + 1) which can correct up to 8 erroneous bytes per MPEG2 packet. 3-5. Sync Detection and Sync Loss After R/S correction, the byte stream is checked for the occurrence of n MPEG-2 sync bytes, where n is programmable from 2 to 7 via an I2C bus register. This sync byte detection is used to indicate transport stream lock by activation of the TSLOCK pin. There are two methods used to indicate loss of Transport Stream Lock, selectable by an I2C bus register. One method indicates loss of lock immediately a sync byte is lost. The other method decrements the sync byte counter down by 1 from n, and only indicates loss of lock when the counter reaches zero, thus providing a filtering capability to allow easier sync locking.
- 10 -
CXD1958Q
3-6. Energy Dispersal De-randomiser The error-corrected bytes are de-randomized with a 15-stage PRBS (Pseudo Random Binary Sequence) generator, with polynomial 1 + X14 + X15 and start-up sequence "100101010000000". Sync bytes are not descrambled, and when an inverted sync byte is detected, every 8th packet, the PRBS resets to the start-up sequence and the sync byte is re-inverted. The de-scrambled data is output through the TSDATA pins, along with a data clock and synchronization signal. 3-7. BER Calculation In addition to the above functionality, the postprocessor includes comprehensive signal quality measurement logic. The Bit Error Rate (BER) of the received signal (before and after R/S correction) and a measure of the long-term signal quality are available via I2C bus registers. The calculated Bit Error Rate (BER) of the received signal is accurate for pre R/S BER figures better than 1 x 10-3. 3-8. MPEG2 Baseband Interface Fig. 5 illustrates the relationship between the CXD1958Q MPEG2 transport stream interface signals. The transport stream clock (TSCLK) can be programmed for the external device to sample on the rising or falling edge (only rising edge sampling is shown here). The interface supports a number of additional signals, which indicate the integrity of the output data. Once the demodulator has achieved lock to the MPEG2 sync byte, the transport stream interface is activated. Fig. 5 shows a complete MPEG2 packet consisting of a sync byte (47h) data bytes (dd) and Reed Solomon bytes (rr). Note that all the interface control signals have individual programmable polarity; active high signals are shown in the diagram. TSCLK has two operating modes selected via I2C bus: * Whole Packet Mode, where the clock is activated for all 204 bytes of the packet, requiring the external interface to use TSVALID to distinguish between data and 16 Reed Solomon bytes. * Data Only Mode, where the clock is activated only for each of the 188 sync and data bytes, and remains inactive during the 16 Reed Solomon bytes. TSDATA[7:0] is the byte wide MPEG2-TS data with programmable MSB/LSB ordering. The default is TSDATA7 being the MSB. TSVALID has two operating modes selected via I2C bus: * Data Only Mode: where TSVALID is set active during the 188 byte data portion of the packet, and reset inactive during the 16 Reed Solomon bytes. It is used by the external device as a clock enable to qualify when data is valid on TSDATA[7:0]. * Pulsed Mode: where TSVALID is set active during the MPEG2 sync byte and reset inactive for the remainder of the packet, and thus becomes equivalent to a sync byte indicator. TSSYNC is set active during the MPEG2 sync byte and reset inactive for the remainder of the packet. TSERR is only set active if the Transport Stream Error flag is set. This signal indicates that the Reed Solomon decoder was unable to correct all errors in the packet. There are 3 programmable modes for this signal: * Whole Packet Mode: Active during the entire 204-byte packet * Data Only Mode: Active during the 188 byte data portion of packet and inactive during the 16 Reed Solomon bytes * Pulsed Mode: Pulsed active during sync byte period only
- 11 -
CXD1958Q
TSCLK Whole Packet Tsu TSCLK Data Only Th
TSDATA[7:0]
rr
47h
dd
dd
dd
dd
rr
rr
rr
rr
47h
dd
TSVALID Data Only
TSVALID Pulsed
TSSYNC
TSERR Whole Packet
TSERR Data Only
TSERR Pulsed
Fig. 5. MPEG2 Transport Stream Output Configurations 4. Tuner 3-Wire Bus Interface The interface allows two tuner synthesizers to be configured through the use of separate SEN0 and SEN1 enable output signals. The polarity of SEN0 and SEN1 can be programmed both active high or both active low by the SEN_POL I2C bus register bit. There are two operating modes selected by I2C bus. * Mode 0 : The host CPU drives the 3-wire bus pins via the CPU interface pins TCLK, TDATA and TEN. These pins are connected to the CPU data bus and a decoded active low strobe is connected to the TWR_N input pin. On each rising edge of TWR_N, the data on TCLK, TDATA, and TEN is registered by the CXD1958Q demodulator, and driven out on the SCLK, SDATA and SEN0 or SEN1 pins respectively. The I2C bus register bit SEL selects whether SEN0 or SEN1 is activated during this transfer. Thus the transfer rate on the 3-wire bus interface in this mode is determined by the rate of CPU accesses. The operation of this mode is shown in Fig. 6.
- 12 -
CXD1958Q
* Mode 1 :The CPU loads 4 I2C bus registers inside the TCM demodulator with 28 bits of data. The CPU selects which SEN0 or SEN1 output should be used by programming the I2C bus register bit (SEL), and then commands (by setting an I2C bus register bit SEND) the 3-wire bus state machine to transmit these 28 bits out of the 3-wire interface as shown in Fig. 7. When the transmission is complete, the I2C bus register bit (SEND) is reset to zero by the 3-wire bus state machine. This allows the CPU to poll the SEND bit to determine when it is able to write further data to the 3 I2C bus registers if it is necessary to send more data. The rate of transmission is fixed at 10.67s per bit when using a 30MHz crystal oscillator on the CXD1958Q demodulator IC. The bit ordering of transmission starts with bit 27.
sampling of CPU pins
TCLK
TDATA
TEN
TWR_N
SCLK
SDATA
SEN0[1]
Fig. 6. 3-Wire Bus : Mode 0 Operation
SCLK
SDATA
27
26
25
24
23
22
21
7
6
5
4
3
2
1
0
SEN0[1] -305s
Fig. 7. 3-Wire Bus : Mode 1 Operation
- 13 -
CXD1958Q
5. I2C Bus Interface The CXD1958Q includes an I2C bus compatible host interface, to enable access to the internal control registers. This supports accesses via an offset register at bit rates of up to 400Kbit/s. The 7-bit slave address for this device is [0, 0, 1, 1, 1, A1, A0], where A1 and A0 are set externally via device pins. A summary of the CXD1958Q internal register set which can be accessed via I2C bus is defined in Table 2. A full description of the registers is presented in "Control Register Definitions". Table 2. I2C bus Interface Registers Subaddress 0 Name R/W Width bytes 1 Description Device version/revision information Device reset register Interrupt source register Pre-processor status Equalizer status FEC status QAM level configuration Detected frequency offset Detected QAM level Symbol rate at which locked Bit Error Rate estimate Codeword reject count Interrupt mask register Pre-processor configuration External AGC control Equalizer configuration Value on reset of type H/W 20h Cold 20h Warm 20h
CHIP_INFO
R
1 2 3 4 5 6 7 8 9 - 0AH
RST_REG INTERRUPT_SOURCE TSMSTATUS ESMSTATUS FEC_STATUS QAMCONFIG CARRIEROFFSET DETECTEDQAM DETECTEDSYMRATE
RW RW R R R RW R R R R R RW RW RW RW
1 1 1 1 1 1 1 1 2 3 2 1 1 1 1
F4h 0 0 01h 10h 84h 0 0 0 0 0 0 89h 0 03h
F4h 0 0 01h 10h 84h 0 0 0 0 0 0 89h -- 03h
F1h -- -- -- -- -- -- -- -- -- -- -- -- -- --
0BH - 0DH BER_EST 0EH - 0FH CWRJCT_CNT 10H 11H 12H 13H INTERRUPT_MASK PRECONFIG AGCCTRL EQUCONFIG
- 14 -
CXD1958Q
Subaddress 14H
Name FEC_PARAMS
R/W RW RW RW RW RW RW RW RW RW RW RW
Width bytes 1 2 2 2 2 2 2 2 2 1 1
Description FEC configuration Symbol rate table entry Symbol rate table entry Symbol rate table entry Symbol rate table entry Symbol rate table entry Symbol rate table entry Symbol rate table entry Symbol rate table entry FEC sync detect thresholds Long term quality threshold Bit error rate measurement period Not used in this application
Value on reset of type H/W 32h 0AABh 5Msym/s 0 0 0 0 0 0 0 1Dh 04h Cold -- 0AABh 5Msym/s 0 0 0 0 0 0 0 1Dh 04h Warm -- -- -- -- -- -- -- -- -- -- --
15H - 16H SYMRATETRIAL0 17H - 18H SYMRATETRIAL1 19H - 1AH SYMRATETRIAL2 1BH - 1CH SYMRATETRIAL3 1DH - 1EH SYMRATETRIAL4 1FH - 20H SYMRATETRIAL5 21H - 22H SYMRATETRIAL6 23H - 24H SYMRATETRIAL7 25H 26H SET_SYNC_DETECT LT_QLTY_THRESHOLD
27H
BER_EST_PERIOD
RW
1
0Eh
0Eh
--
28H
ADC_CAL_PERIOD
RW
1
FFh
FFh 32EFh 36.125MHz 0
--
29H - 2AH ITBFREQ
RW
2
Nominal frequency 32EFh of receive local 36.125MHz oscillator Equalizer tap address number In-phase component of equalizer tap Quadrature component equalizer tap In-phase equalizer output Quadrature-phase equalizer output 0
--
2BH
EQUTAPSELECT
RW
1
--
2CH
EQUTAPI
R
1
0
0
--
2DH
EQUTAPQ
R
1
0
0
--
2EH 2FH
CONSTELLATIONI CONSTELLATIONQ
R R
1 1
0 0
0 0
-- --
- 15 -
CXD1958Q
Subaddress
Name
R/W
Width bytes 2 2 4
Description IF external gain control integrator output level RF gain control Tuner interface control I/F TCM configuration and synchronization control Transport stream output control Estimate of SNR in channel Equalizer adaption constant Maximum frequency offset carrier loop acquires External gain control target signal level
Value on reset of type H/W 0 0 0h Cold 0 0 0h Warm -- -- --
30H - 31H AGCIFINTG 32H - 33H RFAGC 34H - 37H TUNER_CTRL
R RW RW
38H
TCM_CONFIG
RW
1
ABh
ABh
--
39H 3AH 3BH
TS_MODE SNRESTIMATE LMSMUTRACK
RW R RW
1 1 1
B4h 0 03h
B4h 0 03h
-- -- --
3CH
SWEEPRNG
RW
1
80h
80h
--
83H
AGCTGT
RW
1
69h
69h
--
6. JTAG Test Interface A JTAG test interface is provided using the pins TDI, TDO, TMS, TRST and TCK. The Interface conforms to the IEEE1149.1 standard and provides access to the device boundary scan chain.
- 16 -
CXD1958Q
Electrical Characteristics 1. Absolute Maximum Ratings Item Digital power supply Analog power supply Input voltage: -3.3V only input pins Input voltage: -5V tolerant input pins Output voltage: -3.3V only pins VO Output voltage: -5V tolerant input pins Storage temperature TSTG VI Symbol DVDD AVDD Pins TRST, TDI, TMS, TCK, A1, A0, VRT, VIN, VRB, XTALI Pins SCL, SDA, RESETN, TEN, TCLK, TDATA, TWR_N, TSDISABLE, DT[9:0] Condition (Ta = 25C, AVss = 0V, DVss = 0V) Min. DVss - 0.5 AVss - 0.5 Max. +4.6 +4.6 Unit V V
DVss - 0.5 DVDD + 0.5 DVss - 0.5 DVSS + 5.5 V
Pins TEVAL[9:0], TDO, TVALID, DVss - 0.5 DVDD + 0.5 TSLOCK, TSERR, TSDATA[7:0], TSCLK, TSSYNC, XTALO, DTCLK, AGC, RFAGC, VRTS, VRBS Pins INTRPTN, SEN0, SEN1, SCLK, SDATA, SDA, DT[9:0] DVss - 0.5 DVSS + 5.5 -55 +150
V
C
Notes: 1. The device must be operated within the limits of the absolute maximum ratings. If the device is operated outside these conditions, the device may be permanently damaged. 2. Functional operation at or outside any of the conditions indicated in the absolute maximum ratings is not implied. 3. Exposure of the device to the absolute maximum rating condition for extended periods can affect system reliability. 4. 5V tolerant inputs and outputs are only 5V tolerant while the device power is applied. If no device power is applied there in no protection to 5V levels and the device may be permanently damaged. It is important to observe the conditions for 5V protection when sequencing power supplies in the application.
2. Recommended Operating Conditions Item Digital power supply Analog power supply Crystal oscillator frequency Ambient temperature range Symbol DVDD AVDD fXTAL Ta DVss = 0V AVss = 0V Condition Min. 3.0 3.0 30 0 Typ. 3.3 3.3 Max. 3.6 3.6 30 +70 Unit V V MHz C
- 17 -
CXD1958Q
3. DC Electrical Characteristics 0C < Ta < 70C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V Item Input low voltage Input low voltage Input high voltage Input voltage hysteresis Input low current Input low current Symbol VIL VIL VIH VHYST IIL IIL Pins RESETN, TSDISABLE, TEN, TCLK, TDATA, TWR_N, SDA, SCL Vin = DVSS, pins TCK, A1, A0 Vin = DVSS, pins TMS, TDI, TRST Vin = DVss, pins SCL, SDA, RESETN, TEN, TCLK, TDATA, TWR_N, TSDISABLE, DT[9:0] Vin = DVDD, pins TRST, TDI, TMS, TCK, A1, A0 Vin = 5.5V, pins SCL, SDA, RESETN, TEN, TCLK, TDATA, TWR_N, TSDISABLE, DT[9:0] IOL = 2mA, pins AGC, RFAGC IOL = 3mA, pin SDA IOL = 4mA, pins TSVALID, TSERR, TDATA[7:0], TSCLK, TSSYNC, DT[9:0], TDO, TEVAL[9:0] IOL = 8mA, pins TSLOCK, DTCLK IOL = 12mA, pins SEN0, SEN1, SCLK, SDATA, INTRPTN IOH = -2mA, pins AGC, RFAGC, DT[9:0] IOH = -4mA, pins TSVALID, TSERR, TDATA[7:0], TSCLK, DVDD - 0.4 TSSYNC, TDO, TEVAL[9:0] IOH = -8mA, pins TSLOCK, DTCLK IOH = -2mA, pins DT[9:0] VRT connected to VRTS and VRB connected to VRBS VRT connected to VRTS and VRB connected to VRBS 2.4 0.33DVDD 0.66DVDD 0.33DVDD Total current AVDD + DVDD 330 -10 -240 -100 -40 Condition Except pins SCL, SDA Pins SCL, SDA 0.7DVDD 0.5 Min. Typ. Max. 0.2DVDD 0.3DVDD Unit V V V V A A
Input low current
IIL
-40
A
Input high current
IIH
+10
A
Input high current
IIH
+40
A
Output voltage LOW
VOL
0.4
V
Output voltage HIGH
VOH
V
Output voltage HIGH ADC bottom reference voltage ADC top reference voltage ADC input dynamic range Supply current
VOH VRB VRT VIADC IDD
V V V V mA
- 18 -
CXD1958Q
4. AC Electrical Characteristics 4-1. Transport Stream Interface
(4) (3) (2) TSDATA[7:0] 0x47 0xmm (5) TSSYNC 0xnn
TSCLK
TSVALID, TSERR
TSLOCK
(1)
Fig. 8. Transport Stream AC Timing Table 3. Transport Stream AC Timing Parameters 0C < Ta < 70C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V Timing parameter Description tXTAL, Clock period defined by crystal oscillator 1 tTSLOCKSU, TSLOCK valid setup time to TSSYNC, TSVALID and TSERR tTSJIT, transport stream clock jitter tTSSU, transport stream TSDATA, TSSYNC, TSVALID and TSERR setup time to TSCLK active edge tTSHD, transport stream TSDATA, TSSYNC, TSVALID and TSERR hold time from TSCLK active edge tTSPW, transport stream TSCLK pulse width 2 x tXTAL 2 x tXTAL 3 x tXTAL Min. Typ. 33.33 Max. Unit ns
ns
2
tXTAL
ns
3
ns
4
2 x tXTAL
ns
5
ns
- 19 -
CXD1958Q
4-2. Tuner 3-Wire Bus Interface
TEN, TCLK, TDATA TWR_N (6) (7) (8)
Fig. 9. Tuner 3-Wire Bus Mode 0 AC Timing Table 4. Tuner 3-Wire Bus Mode 0 AC Timing Parameters 0C < Ta < 70C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V Timing parameter 6 Description tHCPUSU, host CPU TEN, TCLK, and TDATA setup time to TWR_N rising edge tHCPUHD, host CPU TEN, TCLK, and TDATA hold time from TWR_N rising edge tHCPUPW, host CPU TWR_N pulse width 10 Min. Typ. Max. 40 Unit ns
7
ns
8
40
ns
SCLK
SDATA
27
26
25
24
23
22
21
7
6
5
4
3
2
1
0
SEN0[1] (15)
(9)
(13) (10) (11) (12) (14)
SCLK
SDATA
SEN0[1]
Fig. 10. Tuner 3-Wire Bus Mode 1 AC Timing - 20 -
CXD1958Q
Table 5. Tuner 3-Wire Bus Mode 1 AC Timing Parameters 0C < Ta < 70C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V Timing parameter Description tXTAL, clock period defined by crystal oscillator 9 tSENSU, 3-wire bus SEN0 or SEN1 active setup time to SCLK rising edge tSDATASU, 3-wire bus SDATA setup time to SCLK rising edge tSDATAHD, 3-wire bus SDATA hold time from SCLK rising edge tSCLKPW, 3-wire bus SCLK high pulse width tSCLKPER, 3-wire bus SCLK period tSENHD, 3-wire bus SEN0 or SEN1 hold time active after final SDATA bit tSENPW, 3-wire bus SEN0 or SEN1 active pulse width Min. Typ. 33.33 192 x tXTAL Max. Unit ns
ns
10
64 x tXTAL
ns
11
256 x tXTAL 64 x tXTAL 320 x tXTAL 64 x tXTAL 9152 x tXTAL
ns
12 13
ns ns
14
ns
15
ns
- 21 -
CXD1958Q
4-3. I2C Interface
(17) (18)
(18) P S (19) (22) (20) (23) (21) Sr (24) P
Fig. 11. I2C Interface AC timing Table 6. I2C Interface AC timing parameters 0C < Ta < 70C, DVss = AVss = 0V, 3.0V < DVDD, AVDD < 3.6V Timing parameter 16 Description fSCL, SCL clock frequency tSDABUF, Bus free time between a STOP (P) and START (S) condition tSTAHD, Hold time (repeated) START condition. After this period, the first clock pulse is generated. tSCLLOW, LOW period of SCL clock tSCLHIGH, HIGH period of SCL clock tSTASU, Setup time for a repeated START condition tSDAHD, SDA data hold time tSDASU, SDA data setup time tSTOSU, Setup time for STOP condition Min. 0 Typ. Max. 400 Unit kHz
17
1.3
s
18
0.6
s
19 20 21 22 23 24
1.3 0.6 0.6 0 100 0.6 0.9
s s s s ns s
- 22 -
CXD1958Q
Control Register Definitions 1. Notation Addresses and constant values are defined using decimal or hexadecimal numbers. Where they are used, hexadecimal numbers are prepended with "0x". Register definitions are given in the following format: REGISTERNAME ADDRESS 7 6 5 ACCESS MODE CORE DEFAULT VALUE 3 2 1 0
4
Where, REGISTERNAME: ACCESS MODE: CORE: ADDRESS:
Name of the register (e.g. EQUCONFIG) Read (R), Write (W) or Read/Write (RW) Which register group it belongs to. I2C bus address used to access register
DEFAULT VALUE: Value after chip reset or software equivalent The most significant bit of each field is positioned to the left. Where logical registers occupy more than a single 8-bit physical register (for example where a parameter field requires more than 8 bits of precision) they are defined together and allocated successive (byte) addresses. 2. Number Format Numerical values which can be positive or negative, use 2's complement number format. Numerical values which can be only positive, use plain unsigned binary representation.
- 23 -
CXD1958Q
3. Register Definitions 3-1. TSMSTATUS TSMSTATUS ADDRESS: 0x03 7 AGC locked Bits 3 to 0: 6 5 Reserved Current state of pre-processor state machine coded as follows: TSM status 0 1 2 3 4 5 6 Bits 3 to 6: Bit 7: Synchronization state Cold reset Initialize Coarse timing acquisition Fine timing acquisition A Fine timing acquisition B Tracking Pre-processor lost lock State identifier RST INI CTA FTA FTB TRK PLL READ CORE DEFAULT: 0x00 4 3 2 1 TSM status 0
Reserved Set by the pre-processor when the AGC is in lock. Refer to the description of registers AGCTGT and AGCLKTHR.
- 24 -
CXD1958Q
3-2. ESMSTATUS ESMSTATUS ADDRESS: 0x04 7 6 Reserved Bits 3 to 0: Current state of equalizer state machine coded as follows: ESM status 0 1 2 3 4 5 6 7 8 9 10 11 12 Bits 4 to 7: Reserved Synchronisation state Reset Wait for Pre-processor to Lock Fine Gain Adjustment Blind Linear Equalisation (1) Blind Linear Equalisation (2) Carrier Frequency Recovery DC Correction Blind DFE Equalisation S&G DFE Equalisation DD DFE Equalisation Check Spectral Inversion Tracking Equalizer Lost Lock State identifier RESET WPL FGA BLE1 BLE2 CFR DCC BDE SDE DDE CSI TRK ELL 5 READ CORE DEFAULT: 0x00 4 3 2 ESM status 1 0
- 25 -
CXD1958Q
3-3. QAMCONFIG QAMCONFIG ADDRESS: 0x06 7 256 QAM Mapping Bits 0 to 4: 6 Reserved 5 READ/WRITE CORE DEFAULT : 0x84 3 128 QAM Enable 2 64 QAM Enable 1 32 QAM Enable 0 16 QAM Enable
4 256 QAM Enable
Bits 5 to 6: Bit 7:
Clear appropriate bit to prevent the demodulator from attempting to synchronize with the specified QAM. The default value is such that lock is only attempted with 64 QAM. If more than one QAM level is specified the equalizer attempts lock at each of the specified QAM levels until lock is achieved. This increases the lock time compared to setting the QAM level if known. Reserved Clear this bit to use the DVB 256 QAM mapping. The default value of 1 means that, in 256 QAM mode, the MMDS mapping is used.
3-4. CARRIEROFFSET FREQOFFSET ADDRESS: 0x07 7 6 5 READ CORE DEFAULT: 0x00 4 3 2 1 0
Detected Carrier Offset Bits 0 to 7: Holds the detected coarse carrier frequency offset. This is a combination of any frequency offset correction applied in the pre-processor to allow symbol timing lock and the carrier frequency offset detected by the carrier recovery loop in the equalizer. It is encoded as follows: Foff = CarrierOffset * Fs 256
Where Foff is the frequency offset from the nominal IF (or alias) and Fs is the ADC sample rate (nominally 30MHz). The maximum carrier frequency offset that can be accommodated is currently fixed at 512kHz although there may be SNR degradation for large offsets depending on the SAW filter used.
- 26 -
CXD1958Q
3-5. DETECTEDQAM DETECTEDQAM ADDRESS: 0x08 7 6 5 Reserved Bits 0 to 3: READ CORE DEFAULT: 0x00 4 3 2 1 Detected QAM Level 0
Once the equalizer has lock this register contains the QAM level for which the equalizer locked and is decoded as follows: Register value 0 1 2 3 4 QAM level 16 32 64 128 256
Bits 3 to 7:
Reserved
3-6. DETECTEDSYMRATE DETECTEDSYMRATE ADDRESS: 0x09 to 0A 7 6 5 4 3 READ CORE DEFAULT: 0x0 0 7 6 5 4 3 2 1 0
2
1
Reserved
TrialSRate
TrialSRate
Bits 0 to 3 & 0 to 7: Holds the last symbol rate at which the timing recovery PLL locked and which subsequently lead to valid MPEG packets being decoded by the FEC block. This symbol rate is restored as the trial symbol rate when the demodulator performs a hot reset and is encoded as follows: SymbolRate = TrialSRate * Fs 16384
Where Fs is the ADC sample rate (nominally 30MHz).
- 27 -
CXD1958Q
3-7. PRECONFIG PRECONFIG ADDRESS: 0x11 7 Discrete Search Bit 0: 6 5 Reserved READ/WRITE CORE DEFAULT: 0x89 3 ADC Offset Binary 2 ADC External 1 AGC Hold 0 Hot Reset
4
Bit 1:
Bit 2: Bit 3:
Bits 4 to 6: Bit 7:
When set this enables a hot reset when the FEC block indicates that it has lost sync. This causes the pre-processor state machine to resume operation at a point where it can exploit prior knowledge of the received signal format gained whilst the chip was in lock. Specifically, a hot reset causes the PSM to restore values for IF carrier frequency offset and symbol rate used when the FEC last indicated that valid MPEG code words were being received. This facility is provided to minimize the time required for re-acquisition of sync in applications using a single symbol rate and can only be invoked from the state where the demodulator once had lock and subsequently lost it. Set to hold the AGC output at its current value following a warm reset rather than being reset to mid-range. This may reduce AGC acquisition times following a channel switch if signal levels are similar. Set to select the output of an external A/D converter for connection to the pre-processor instead of the (default) internal A/D. The signal processing elements of the pre-processor assume 2's complement data is being supplied. Setting this bit inverts the top bit of the ADC output, converting the data format from offset binary to 2's complement. Reserved Set to enable a symbol rate search at the discrete frequencies specified in the table SYMBRATETRIAL0 - SYMBRATETRIAL7. In this mode, the pre-processor attempts to recover symbol synchronization at the specified symbol rates only. If lock is not achieved within the time limit specified by CTATIMEOUT acquisition is attempted at the next frequency.
- 28 -
CXD1958Q
3-8. AGCCTRL AGCCTL ADDRESS: 0x12 7 6 5 Reserved Bits 0 to 1: READ/WRITE CORE DEFAULT : 0x00 3 2 Invert AGC 1 0
4
AGC Time Constant
Bit 2:
This controls the time constant of the AGC loop. The hardware reset value of 0 disables the AGC. A nominal setting of 2 should be programmed following power-up. This will allow the PWM average output to slew from its mid-range value to full scale in approximately 11ms. A setting of 1 doubles the time constant to 22ms and 3 halves it. A subsequent setting of 0 locks the AGC output at its current level. The AGC control loop will be disabled at power-up with the AGC output pin giving a 50% duty cycle output. The host microprocessor should set the correct sense for the control loop and enable the AGC by setting AGC_TC to 2. A subsequent warm or cold reset will not reset either of these parameters. This controls the sense of the AGC loop. The default value of "0" will give a decreasing control output when the input is overloaded. A value of "1" will give an increasing value.
3-9. EQUCONFIG EQUCONFIG ADDRESS: 0x13 7 6 5 Reserved Bit 0: READ/WRITE CORE DEFAULT : 0x03 3 2 Invert Spectrum 1 Disable CSI 0 Hot Reset
4
Bit 1: Bit 2: Bits 3 to 7:
When set this enables a hot reset when the FEC block indicates that it has lost lock. This causes the equalizer state machine to resume operation at a point where it can exploit prior knowledge of the received signal format gained whilst the chip was in lock. Specifically, a hot reset causes the ESM to restore the last values for QAM order and spectral inversion used before the FEC indicated loss of lock. The device will automatically toggle the input spectrum once the equalizer has locked if the FEC has not locked. This toggling feature can be disabled by setting this bit. Set this to invert the spectrum of the input signal. It is not inverted by default. The setting of this bit is dependent upon the frequency plan used in the tuner. Reserved
- 29 -
CXD1958Q
3-10. SYMRATETRIAL0 SYMRATETRIAL0 ADDRESS: 0x15 & 0x16 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0xAAB 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 0
Trial Symbol Rate 0
Bits 0 to 7 & 0 to 3: The SYMRATETRIAL0 - SYMRATETRIAL7 registers control the frequencies at which the timing loop attempts to lock. Their function depends upon the setting of the discrete search bit (bit 7) in the PRECONFIG register. When disabled (i.e. set to zero) the pre-processor performs a continuous symbol rate search which extends from the frequency specified in SYMRATETRIAL0 down to that specified in SYMRATETRIAL1. The search must be performed downwards in frequency and so SYMRATETRIAL0 defines the high frequency limit of the search range. When discrete search is enabled (i.e. set to one) the pre-processor attempts to synchronize at each of up to 8 discrete frequencies specified in SYMRATETRIAL0 - SYMRATETRIAL7. In this case SYMRATETRIAL0 defines the first symbol rate to test. If a discrete rate is set to zero then this causes the search to reset to TRIAL0 and start again. Therefore if a known single symbol rate is used then SYMRATETRIAL0 should be set appropriately and SYMRATETRIAL1 should be set to zero. For both modes the register setting is given by: SYMRATETRIAL0 = Fsym * 16384 Fs
Where Fsym is the symbol rate and Fs is the ADC sample rate (nominally 30MHz). The default value of 2731 corresponds to 5Msym/s with a 30MHz sample clock. 3-11. SYMRATETRIAL1 SYMRATETRIAL1 ADDRESS: 0x17 & 0x18 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 1
Trial Symbol Rate 1
* See SYMRATETRIAL0 register description.
- 30 -
CXD1958Q
3-12. SYMRATETRIAL2 SYMRATETRIAL2 ADDRESS: 0x19 & 0x1A 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 2
Trial Symbol Rate 2
* See SYMRATETRIAL0 register description. 3-13. SYMRATETRIAL3 SYMRATETRIAL3 ADDRESS: 0x1B & 0x1C 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 3
Trial Symbol Rate 3
* See SYMRATETRIAL0 register description. 3-14. SYMRATETRIAL4 SYMRATETRIAL4 ADDRESS: 0x1D & 0x1E 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 4
Trial Symbol Rate 4
* See SYMRATETRIAL0 register description. 3-15. SYMRATETRIAL5 SYMRATETRIAL5 ADDRESS: 0x1F & 0x20 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 5
Trial Symbol Rate 5
* See SYMRATETRIAL0 register description.
- 31 -
CXD1958Q
3-16. SYMRATETRIAL6 SYMRATETRIAL6 ADDRESS: 0x21 & 0x22 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 6
Trial Symbol Rate 6
* See SYMRATETRIAL0 register description. 3-17. SYMRATETRIAL7 SYMRATETRIAL7 ADDRESS: 0x23 & 0x24 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
Reserved
Trial Symbol Rate 7
Trial Symbol Rate 7
* See SYMRATETRIAL0 register description. 3-18. ITBFREQ ITBFREQ ADDRESS: 0x29 & 0x2A 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x32EF 7 6 5 4 3 2 1 0
2
1
0
Reserved
ITB Downconversion Frequency
ITB Downconversion Frequency
Bits 0 to 5 & 0 to 7: Nominal frequency of the receive local oscillator, encoded as follows: ITBFREQ = -16384 * Fc Fs
Where Fc is the centre frequency of the IF (or alias) and Fs is the ADC sample rate (nominally 30MHz). The setting of a negative value for ITBFREQ implies no spectrum inversion, whereas a positive value inverts the spectrum. This register sets the nominal received local oscillator frequency. Any frequency offsets are recovered separately within the device and fed back to the local oscillator. The default value of -3345 corresponds to a nominal frequency of 36.125MHz which aliases to 6.125MHz.
- 32 -
CXD1958Q
3-19. EQUTAPSELECT TAPSELECT ADDRESS: 0x2B 7 Reserved Bits 0 to 5: 6 5 READ/WRITE CORE DEFAULT: 0x00 3 Tap Select Set this register to select tap number whose values are loaded into the TAPI and TAPQ registers. The feedforward taps are numbered 0 to 9 with the main tap being tap 9. The feedback taps are numbered 10 to 39 with 10 being the first feedback tap. Reserved 2 1 0
4
Bits 6, 7: 3-20. EQUTAPI TAPREAL ADDRESS: 0x2C 7
READ
CORE DEFAULT: 0x00 4 3 2 1 0
6
5
Tap value (in-phase) Bits 0 to 7: Contains the real (in-phase) component of the equalizer tap specified by the TAPSELECT register. This must be read before the EQUTAPQ register.
3-21. EQUTAPQ TAPQUAD ADDRESS: 0x2D 7 6 5 READ CORE DEFAULT: 0x00 4 3 2 1 0
Tap value (in-phase) Bits 0 to 7: Contains the imaginary (quadrature-phase) component of the equalizer tap specified by the TAPSELECT register. The process of reading this register automatically loads the next tap values into the EQUTAPI and EQUTAPQ registers (i.e. the TAPSELECT register need only be set once to obtain all the tap values).
- 33 -
CXD1958Q
3-22. CONSTELLATIONI CONSTELLATIONI ADDRESS: 0x2E 7 6 5 READ CORE DEFAULT: 0x00 4 3 2 1 0
Equalizer Constellation Output (In-phase) Bbus its 0 to 7: Contains the real (in-phase) component of the equalizer output before the decision device. Due to the speed limitations of the I2C bus this data is not continuous but is a sub-sampled version of the equalizer output. Even so, because of the random nature of the data, a constellation plot can still be formed from this data.
3-23. CONSTELLATIONQ CONSTELLATIONQ ADDRESS: 0x2F 7 6 5 READ CORE DEFAULT: 0x00 4 3 2 1 0
Equalizer Constellation Output (Quadrature-phase) Bits 0 to 7: Contains the imaginary (quadrature-phase) component of the equalizer output before the decision device. Due to the speed limitations of the I2C bus this data is not continuous but is a sub-sampled version of the equalizer output. Even so, because of the random nature of the data, a constellation plot can still be formed from this data. 3-24. AGCIFINTG AGCIFINTG ADDRESS: 0x30 & 0x31 7 6 5 4 3 READ CORE DEFAULT: 0x0 0 7 6 5 4 3 2 1 0
2
1
AGC integrator
AGC integrator
Reserved
Bits 0 to 7 & 6 to 7: Contains the setting of the IF external AGC integrator. Note that the data format allows a single byte read if 8-bit resolution is sufficient. It is expected that the AGC range will be approximately 80dB, hence 8 bits should give better than 0.5dB resolution.
- 34 -
CXD1958Q
3-25. RFAGC RFAGC ADDRESS: 0x32 & 0x33 7 6 5 4 3 READ/WRITE CORE DEFAULT: 0x0 7 6 5 4 3 2 1 0
2
1
0
RFAGC integrator
RFAGC integrator
Reserved
Bits 0 to 7 & 6 to 7: Allows setting of an RF external AGC level to the RF AGC PWM output. Note that the RF AGC is simply a register controlled PWM output and not a feedback loop. It is intended that the host software should monitor the AGCIFINTG register and manually set the RFAGC to optimize system performance. Note that the data format allows a single byte write if 8 bit resolution is sufficient. 3-26. SNRESTIMATE SNRESTIMATE ADDRESS: 0x3A 7 6 5 READ CORE DEFAULT: 0x00 4 3 2 1 0
SNR Estimate Bits 0 to 7: Once the equalizer has locked this register contains a value from which the channel SNR can be estimated. The register value is based upon a moving average of the MSE of the constellation. The equation below shows the relation between the register value and the SNRo at the output of the equalizer. The estimate can be improved by averaging the contents of this register. SNRo = -9.5ln [ 3-27. LMSMUTRACK LMSMUTRACK ADDRESS: 0x3B 7 6 5 Reserved Bits 0, 1: READ/WRITE CORE DEFAULT: 0x03 3 2 1 DDE MU 0 SN Re stimate ] 760
4
Bits 2 to 7:
Sets the adaption constant of the equalizer during DDE and TRK states. A value of zero gives the largest adaption constant and tracks fast changes in the channel at the expense of steady-state behaviour whilst a value of three gives the lowest steady-state loss at the expense of dynamic tracking capability. Even the default value of 3 gives significant tracking capability. Reserved
- 35 -
CXD1958Q
3-28. SWEEPRNG SWEEPRNG ADDRESS: 0x3C 7 6 5 READ/WRITE CORE DEFAULT: 0x80 3 2 1 0
4
Carrier Recovery Loop Sweep Range Bits 0 to 7: Sets the maximum frequency offset (positive and negative) over which the device acquires. The offset is twice the register value so, for example, the default value of 128 allows frequency offsets of 256kHz to be acquired.
3-29. CHIP_INFO CHIP_INFO ADDRESS: 0x00 7 6 MMDS Version 5 READ CORE DEFAULT: 0x20 4 3 Major Revision Number 2 1 0
Minor Revision Number
Holds the revision information for the MMDS. Will always return 0x20. 3-30. RST_REG RST_REG ADDRESS: 0x01 7 ADC RST 6 PRE RST 5 EQU RST READ/WRITE CORE DEFAULT: 0xF4 3 Reserved 2 HARD 1 COLD 0 WARM
4 FEC RST
A hardware reset will occur when the RESETN pin to the IC is driven active. The RST_REG register shall record this action by setting the HARD flag to denote that a hardware reset has occurred. In a typical application RST_REG may be polled by a microprocessor via the I2C bus in order to detect whether a hardware reset has occurred. Once detected, the HARD flag may be reset via the I2C bus by writing 0x00 to the RST_REG. The microprocessor may also invoke two additional types of software reset (designated COLD and WARM) by writing directly to the RST_REG register as defined below. ADC RST (Bit 7) X ADC RST ADC RST PRE RST (Bit 6) X PRE RST PRE RST EQU RST (Bit 5) X EQU RST EQU RST FEC RST (Bit 4) X FEC RST FEC RST HARD (Bit 2) X X X COLD (Bit 1) 0 0 1 WARM (Bit 0) 0 1 X Meaning Clear register WARM Reset COLD Reset
(Bit 3) X X X
- 36 -
CXD1958Q
RST_REG in WRITE mode The target blocks for the reset are specified via bits 4 to 7. To reset a block the appropriate bit must be set to 1. For example, writing 1001XX10b to RST_REG would initiate a cold reset to the ADC and FEC blocks. Note that, as before, a write of 0x00 will clear the register. When the register has been written to, the appropriate reset signals shall be generated. Cold or warm resets are terminated by writing to the RST_REG to clear the associated bit. Note that bit 2 is unaffected by a software reset, and will remain 0, unless a separate reset occurred in the interim. 3-31. INTERRUPT_SOURCE INTERRUPT_SOURCE ADDRESS: 0x02 7 Reserved 6 ES_SRC 5 TS_ERR_ SRC READ CORE DEFAULT: 0x01 4 3 2 1 0
LLCK_ TS_LOCK_ EQM_LCK_ FLAG_SRC FLAG_SRC SRC
PRE_LCK_ AGC_LCK_ SRC SRC
When the MMDS signals an interrupt by driving the INTRPTN pin low, a bit in the interrupt source register will be set to indicate the source of the interrupt. The expected system operation will be for the STB CPU to read this register to determine the interrupt source, clear the equivalent bit in the mask register so that another interrupt is not immediately re-flagged, and then clear the source register by writing 0x00 to it. When not in auto-clear mode (see "Description of Functions 3-6") this will result in the MMDS releasing the open-drain INTRPTN pin, allowing it to be pulled high by an external resistor. The possible interrupt sources are: ES_SRC: Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. TS_ERR_SRC: Transport stream error detected. When a 204-byte packet is output with errors (due to more than 8 errored bytes) the transport error indicator in the 4-byte MPEG2 header is set and the TSERR output is driven. LLCK_FLAG_SRC: Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in SET_SYNC_DETECT). TS_LOCK_SRC: Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS. EQM_LCK_SRC: Equalizer LOCK. The equalizer is in tracking mode. PRE_LCK_SRC: Pre-processor LOCK. The pre-processor is in tracking mode. AGC_LCK_SRC: AGC LOCK. The external gain control loop has converged with the input signal in the correct range. Note that this register must be cleared for INTRPTN to be released when not in auto-clear mode. - 37 -
CXD1958Q
3-32. FEC_STATUS FEC_STATUS ADDRESS: 0x05 7 6 5 READ CORE DEFAULT: 0x10 4 3 TS_LOCK 2 1 0 TCM_ SYNC_ ERROR
SEVERELY ERRORED ERRORED SECOND SECOND
LCK_FLAG LLCK_FLAG
NEW_ ERRORED_ TCM_LOCK SECOND
This register reflects the current status of the FEC. During normal operation this should return 0x28 to indicate both lock and transport stream lock. Note that the initial value is 0x10 to indicate that lock is lost - or in fact not yet gained. SEVERELY ERRORED SECOND: Severely errored second detected. When n or more 204-byte packets are uncorrectable in a second (due to more than 8 errored bytes, with n programmable in LT_QLTY_THRESHOLD) an errored second is flagged. ERRORED SECOND: Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. LCK_FLAG: Lock gained. When n sync bytes have been detected (where n is programmable in SET_SYNC_DETECT). LLCK_FLAG: Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in SET_SYNC_DETECT). TS_LOCK: Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS. NEW_ERRORED_SECOND: This bit is high when the errored second and severely errored second values have been updated and not yet read. After FEC_STATUS has been read, this bit will return to zero until the values are next updated. The CWRJCT_COUNT register is updated over the same period as the errored seconds, so NEW_ERRORED_ SECOND could also be polled to determine when CWRJCT_COUNT holds a new value. TCM_LOCK: TCM symbol synchronization LOCK. This bit is high when TCM symbol synchronization is achieved. TCM_SYNC_ERROR: This bit is set when the TCM symbol synchronization cannot lock in the current channel conditions.
- 38 -
CXD1958Q
3-33. BER_EST BER_EST ADDRESS: 0x0B & 0x0C & 0x0D 7 New_ Estimate 6 Reserved 5 READ CORE DEFAULT: 0x00 4 Overflow 3 2 1 0
Bit Error Estimate
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Bit Error Estimate
Bit Error Estimate
This register is big endian, with the MSByte at address 0x0B and the LSByte at address 0x0D. The MSByte actually contains the top nibble of the BER value, together with a new_estimate flag. This flag is set at the end of the BER measurement period, to indicate that an unread BER value is in the register. It is reset after a read to the register has been performed to indicate that the BER value has been read. The BER value is either an estimate, or measurement depending upon the setting in the FEC_PARAMS register. If more than 2097151 errors have been seen in the measurement period then the OVERFLOW flag will be set to indicate that the BER_EST reading is invalid. To prevent an overflow, the user should decrease the value in the BER_EST_PERIOD register. 3-34. CWRJCT_CNT CWRJCT_CNT ADDRESS: 0x0E & 0x0F 7 6 5 4 3 READ CORE DEFAULT: 0x00 0 7 6 5 4 3 2 1 0
2
1
Codeword reject count
Codeword reject count
CWRJCT_CNT stands for codeword reject count. A codeword is one 204-byte packet. If such a packet contains more than 8 byte errors, the Reed Solomon will be unable to correct it successfully, and this is termed a rejected codeword. Therefore this register returns the count of rejected codewords in one second. It is intended that this register may be accessed when a severely errored second is flagged, if additional information is required regarding the degree of the severity. This register is big endian, with the MSByte at address 0x0E and the LSByte at address 0x0F.
- 39 -
CXD1958Q
3-35. INTERRUPT_MASK INTERRUPT_MASK ADDRESS: 0x10 7 AUTO_CLR 6 ES_MSK 5 TS_ERR_ MSK READ/WRITE CORE DEFAULT: 0x00 3 2 1 0
4
LLCK_ TS_LOCK_ EQM_LCK_ FLAG_MSK FLAG_MSK MSK
PRE_LCK_ AGC_LCK_ MSK MSK
This register should be programmed by setting the bit corresponding to each required interrupt source. It defaults to 0x00, so no conditions will signal an interrupt. If one or more of the bits are set, then when that condition occurs, an interrupt will be by driving the INTRPTN pin low. With AUTO_CLR turned off once an interrupt has been signalled, the bit corresponding to the interrupt source in INTERRUPT_MASK must be reset to prevent an interrupt being continually signalled. Once this has been done, the INTERRUPT_SOURCE register can also be reset to release the open-drain INTRPTN pin, allowing it to be pulled high by an external resistor. With AUTO_CLR turned on, when an interrupt occurs the INTRPTN pin goes low for 4 clocks (133ns) and then returns high. The source of the interrupt is latched in the INTERRUPT_SOURCE register, and the INTRPTN pin will go low again each time the interrupt occurs. By this method, for example, an exact count of lock losses, errored seconds or transport stream errors could be gained. Also acquisition times can be easily measured by interrupting on AGC_LCK_MSK and TS_LOCK_MSK with AUTO_CLR on. The possible interrupt sources are: ES_MSK: Errored second detected. When 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. TS_ERR_MSK: Transport stream error detected. When a 204-byte packet is output with errors (due to more than 8 errored bytes) the transport error indicator in the 4-byte MPEG2 header is set and the TSERR output is driven. LLCK_FLAG_MSK: Lost lock. When transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in SET_SYNC_DETECT). TS_LOCK_MSK: Transport stream LOCK. Valid MPEG2 data has started being output from the MMDS. EQM_LCK_MSK: Equalizer LOCK. The equalizer is in tracking mode. PRE_LCK_MSK: Pre-processor LOCK. The pre-processor is in tracking mode. AGC_LCK_MSK: AGC LOCK. The external gain control loop has converged with the input signal in the correct range. Note that if the bit corresponding to the interrupt condition is not reset in this register and just the INTERRUPT_SOURCE register is written to (to clear the interrupt), the INTRPTN pin will not trigger an addition interrupt if the interrupt condition is no longer true. For example, if an interrupt were configured by setting the LLCK_FLAG_ MSK bit, a lost lock condition would be signalled via an interrupt. The interrupt could be cleared by writing to the LLCK_FLAG_ SRC bit in the INTERRUPT_SOURCE register, and in the meantime if the MMDS had regained lock , the interrupt condition would no longer be true and the INTRPTN pin would remain open-drain. - 40 -
CXD1958Q
3-36. FEC_PARAMS FEC_PARAMS ADDRESS: 0x14 7 Reserved 6 5 READ/WRITE CORE DEFAULT: 0x32 3 2 MEASURE MENT_ SELECT 1 TRI_ STATE_ OUTPUTS 0 RS_ DISABLE
4
TS_CLK_ TS_LOCK_ NO_DEEP_ POSEDGE_ ACTIVE_HI DEINT LATCHING
TS_CLK_POSEDGE_LATCHING: Defaults to one, which strobes TSCLK such that TSDATA should be latched on its positive edge by any logic interfacing to the MMDS. When zero, TSDATA should be latched on the negative edge of TSCLK. NO_DEEP_DEINT: When this bit is set, it prevents a de-interleave depth of I=204 on 256QAM or TCM. A de-interleave depth of I = 12 is used instead. MEASUREMENT_SELECT: When this bit is set, the MMDS will be configured to measure the BER, assuming that ETSI standard NULL packets are being transmitted. When set, the RS_DISABLE bit must be set to enable pre Reed Solomon BER measurements to be made or the RS_DISABLE bit must be cleared to enable post Reed Solomon BER measurements to be made. When reset, the MMDS will estimate the BER by measuring the number of bit corrections which the Reed Solomon makes. Note that although termed an estimate, this value should be very accurate until the BER rises to 10-4 , where the limits of the Reed Solomon are neared. TRI_STATE_OUTPUTS: When this bit is set, all the transport stream pins, TSVALID, TSSYNC, TSERR, TSCORR and TSDATA will go tristate. This is the default reset condition for the MMDS so that in a combined DVB-C / DVB-S or DVB-T system, the transport stream outputs may be simply wired together thereby eliminating the need for any offchip tri-state buffers. RS_DISABLE: When this bit is set the Reed Solomon decoder is disabled, so that the transport stream data retains any errors. This bit MUST be set if the MEASUREMENT_SELECT bit is set to enable BER measurement. When reset the Reed Solomon decoder corrects errors.
- 41 -
CXD1958Q
3-37. SET_SYNC_DETECT SET_SYNC_DETECT ADDRESS: 0x25 7 SYNC_ CNTR_ MODE 6 TSSYNC_ CNTR_ MODE 5 READ/WRITE CORE DEFAULT: 0x1D 3 2 1 Sync_ladder_length 0
4 Sync_loss_ladder_length
All the bits in this register are used to control the lock and lost lock mechanisms in the MMDS FEC. There are two stages of FEC lock: LOCK and TSLOCK. LOCK indicates sync byte lock. The FEC hunts for either the MPEG2 sync byte (0x47) or inverted sync byte (0xB8) in the received byte stream. Once either is detected, a search is started 204 bytes later for the next one. Every time a sync byte or inverted sync byte is successfully detected 204 bytes from the previous one a count is incremented. If neither a sync byte nor an inverted sync byte are detected when expected the count is either decremented or reset to zero. The former mode of operation is termed up/down and the latter reset. TSLOCK indicates transport stream lock. This occurs using a similar mechanism to that described above, except the TSLOCK logic operates upon the post error-corrected data. This ensures that the lock mechanism, and more importantly the lost-lock mechanism gains the benefit of operating on data with a lower BER. This enables the MMDS to remain in lock under conditions where otherwise despite the Reed Solomon being able to successfully correct errors, lock is lost due to errored sync bytes. The LOCK and TSLOCK logic searches for n consecutive sync or inverted sync bytes where n is given by : n = SYNC_LADDER_LENGTH - SYNC_LOSS_LADDER_LENGTH. SYNC_CNTR_MODE: When this bit is set, the LOCK logic operates in up/down mode. When reset it operates in reset mode. TS_SYNC_CNTR_MODE: When this bit is set, the TSLOCK logic operates in up/down mode. When reset it operates in reset mode. SYNC_LOSS_LADDER_LENGTH[2:0]: By varying SYNC_LOSS_LADDER_LENGTH, losing sync lock can be made easier (SYNC_LADDER_ LENGTH-1) or harder (small value). SYNC_LOSS_LADDER_ LENGTH must have a value less than SYNC_LADDER_LENGTH. SYNC_LADDER_LENGTH[2:0]: By varying SYNC_LADDER_LENGTH, sync lock can be made easier (small value) or harder (large value) to achieve. SYNC_LADDER_LENGTH must have a minimum value of 2.
- 42 -
CXD1958Q
3-38. LT_QLTY_THRESHOLD LT_QLTY_THRESHOLD ADDRESS: 0x26 7 6 5 READ/WRITE CORE DEFAULT: 0x04 3 2 1 0
4
Long term Quality Threshold The MMDS retains a count of the number of codewords rejected by the Reed Solomon in one second (where a codeword is one 204-byte packet). This count is compared to the value in LT_QLTY_THRESHOLD and if it exceeds it, a severely errored second is flagged. The default value is one. 3-39. BER_EST_PERIOD BER_EST_PERIOD ADDRESS: 0x27 7 6 Reserved 5 4 3 READ/WRITE CORE DEFAULT: 0x0E 2 1 0
BER Estimation Measurement Period
BER_EST_PERIOD sets the BER estimation/measurement period, governed by the equation: Estimation/measurement period = 2BER_EST_PERIOD 204-byte packets Note that the internal counter supports values of between 0x01 and 0x1f to yield a measurement period between 1 and 2 x 109 204-byte packets. Over the range of QAM levels and data rates this results in a maximum measurement period of 22 hours (256QAM, 7Mbaud). The default is 0x0e, which is 16000 packets. 3-40. TUNER_CTL TUNER_CTL ADDRESS: 0x34 to 0x37 7 6 5 Sel 4 Sen_ pol 3 READ/WRITE CORE DEFAULT: 0x00000000 7 6 5 4 3 2 1 0
2
1
0
Mode Send
SDATA[27:24]
SDATA[23:16] SDATA[7:0]
SDATA[15:8]
MODE: This selects the source of control data for the tuner interface. If MODE=0 the data driven over the tuner interface is sourced from the CPU interface pins TCLK, TDATA, TEN, TWR_N. This is the default mode after reset. If MODE = 1 SDATA in the TUNER_CTRL register is transmitted over the tuner interface. SEND: When this bit is set the SDATA transmission over the tuner interface is initiated. This bit is cleared when the transmission terminates. - 43 -
CXD1958Q
SEL: This bit selects the active tuner PLL pin. If SEL = 0 transmission is active using the SEL0 pin. If SEL = 1 transmission is active using the SEL1 pin. SEN_POL: This bit selects the polarity of the SEN outputs. If SEN_POL = 0 the SEN outputs are active low. If SEN_POL = 0 the SEN outputs are active high. SDATA[27:0]: Holds data for transmission over the tuner interface. When the tuner interface is controlled via the CPU pins, during reset the active channel SEN output is low and thereafter it follows the TEN CPU input pin. The inactive channel SEN is set to its inactive state during reset according to the polarity selection of SEN_POL. When the tuner interface is controlled via the I2C bus SEND control both the active and inactive SEN pins are driven according to the SEN_POL control. 3-41. TCM_CONFIG TCM_CONFIG ADDRESS: 0x38 7 TCM_ ENABLE TCM_ENABLE: This control is used to select between QAM decoding and TCM decoding. When set TCM decoding is enabled. FEC_AUTO_LOCK: This control, if set, enables the FEC lock status to automatically control re-acquisition in the equalizer. If this bit is not set re-acquisition in the equalizer is controlled by software reset. EQU_STATE_THRES: This controls when the TCM decoder starts its synchronization to TCM symbols. This control can be programmed to one of the equivalent states in the ESM_STATUS register. When programmed to an equivalent state of the equalizer the TCM decode starts synchronizing when the equalizer reaches that state. If a state is programmed in this control which does not exist in the equalizer the TCM decoder will not synchronize to the input data and no FEC lock can be achieved. 6 Reserved 5 FEC_ AUTO_LOCK READ/WRITE CORE DEFAULT: 0xAB 3 2 1 0
4 Reserved
Equalizer State Threshold
- 44 -
CXD1958Q
3-42. TS_MODE TS_MODE ADDRESS: 0x39 7 6 5 READ/WRITE CORE DEFAULT: 0xB4 3 TSVALID_ PULSE 2 TSERR_ PULSE 1 TSERR_ FULL 0 TSCLK_ FULL
4 OUTPUT_ SEL_MSB
TSVALID_ TSSYNC_ TSERR_ ACTIVE_HI ACTIVE_HI ACTIVE_HI
TSVALID_ACTIVE_HI: When this bit is set, the TSVALID pin will function in active high mode. When reset, it will be active low. TSSYNC_ACTIVE_HI: When this bit is set, the TSSYNC pin will function in active high mode. When reset, it will be active low. TSERR_ACTIVE_HI: When this bit is set, the TSERR pin will function in active high mode. When reset, it will be active low. OUTPUT_SEL_MSB: When this bit is set, the MSB for the TSDATA output will be TSDATA[7]. When reset, the TSDATA output MSB will be TSDATA[0]. TSVALID_PULSE: Determines whether the TSVALID signal is pulsed or constant. Pulsed when set. TSERR_PULSE: Determines whether the TSERR signal is pulsed or constant. Pulsed when set. TSERR_FULL: Determines whether the TSERR signal is valid for 204 bytes or for 188 bytes. Valid only when TSERR_PULSE is not set. Valid for 204 bytes when set. TSCLK_FULL: Determines whether the TSCLK signal is valid for 204 bytes or 188 bytes. Valid for 204 bytes when set. 3-43. AGCTGT AGCTGT ADDRESS: 0x83 7 6 5 READ/WRITE EXPERT DEFAULT: 0x69 3 2 1 0
4
AGC Target Level Bits 0 to 7: Sets the target signal level used by the external gain control (AGC) loop. It sets the required mean level of the input IF signal which corresponds to approximately the Peak to Peak range in bits divided by 8. An AGC_TGT setting of 128 corresponds with the onset of clipping when a 256 QAM signal is applied to the 10-bit input. The gain control loop is deemed to have settled when the integrated magnitude error falls below a threshold value for a period greater than 136ms. The status of the loop is indicated by the AGCLOCK flag in the TSM_STATUS register. The default value of 105 corresponds to the pk-pk value approximately 3dB below full scale on the ADC in a clear channel. This margin is required to cope with the increased peak to mean signal levels in a multipath channel. - 45 -
CXD1958Q
Application Circuit Diagrams The following circuit diagrams show examples of how to interface to the CXD1958Q. Fig. 12 shows a typical circuit configuration where the tuner section is controlled via I2C bus.
Reset Control
HOST CPU
5V
SDA SCL INTRPTn RESETN DVDD
SDA SCL A1 A0
DVSS
VRTS VRT VRB VRBS LPF AVSS RFAGC AGC VIN Tuner Module IF = 36.125MHz AVSS LPF DT[0:9] TWR_N TEN TDATA TCLK TDI TDO TMS TCK TRST 30MHz XTALO XTALI XAGC TSDATA TSDISABLE TSLOCK TSERR Optional external RF AGC loop I2 C Cable SAW Filter CXD1958Q TSSYNC TSVALID TSCLK
Synth
JTAG Control DVSS
DVSS
Fig. 12. Typical Circuit for CXD1958Q If the tuner is controlled via I2C bus it is preferable to prevent general I2C bus traffic from reaching the tuner and only allow tuner specific commands to pass to the tuner. This can be done using the SEN0 pin, which is programmable via I2C bus by writing to the SEL bit in the TUNER_CTL register. The SEN0 pin is then used as a pass-FET control signal thereby isolating the I2C bus traffic from the tuner when not required by the tuner. Fig. 13 shows the connectivity of the tuner when using SEN0 as pass-FET control. The tuner can also be controlled via 3-wire bus. In this case there are two modes in which the 3-wire bus pins can be controlled. The first is to set the 3-wire bus outputs via the host CPU control lines (TWR_N, TEN, TCLK and TDATA). The second is to set the 3-wire bus outputs via I2C bus. Selection of these two modes is done via the TUNER_CTL register (see "Control Register Definitions" 3-40. TUNER_CTL). Fig. 14 shows the connectivity of the tuner using 3-wire bus pins.
- 46 -
CXD1958Q
5V HOST CPU d s
5V
g
5V
d
s
SEN0 SDA SCL A1 A0 LPF RFAGC SAW Filter VIN AGC LPF
g
DVSS
Optional external RF AFC loop
CXD1958Q
I2C Cable
Synth IF = 36.125MHz Tuner Module
Fig. 13. Interface to Tuner using SEN0 as Pass-FET Control
HOST CPU
5V
TWR_N TEN TCLK TDATA
SDA SCL A1 A0
DVSS
Optional enable for 2nd PLL Synth
SEN1 SCLK SDATA SEN0 LPF RFAGC CXD1958Q
3-wire interface Cable
Synth IF = 36.125MHz Tuner Module
SAW Filter VIN
AGC LPF
Fig. 14. 3-Wire Bus Interface to Tuner - 47 -
CXD1958Q
Package Outline
Unit: mm
100PIN QFP (PLASTIC)
23.9 0.4 + 0.4 20.0 - 0.1 80 51 + 0.1 0.15 - 0.05
81
50
+ 0.4 14.0 - 0.1 17.9 0.4
15.8 0.4
A 100 31
1
0.65
+ 0.15 0.3 - 0.1
30 0.13 M + 0.35 2.75 - 0.15
+ 0.2 0.1 - 0.05
0.15
DETAIL A
0.8 0.2
0 to 10
(16.3)
PACKAGE STRUCTURE
PACKAGE MATERIAL SONY CODE EIAJ CODE JEDEC CODE QFP-100P-L01 QFP100-P-1420 LEAD TREATMENT LEAD MATERIAL PACKAGE MASS EPOXY RESIN SOLDER PLATING 42/COPPER ALLOY 1.7g
- 48 -


▲Up To Search▲   

 
Price & Availability of CXD1958Q

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X